package Service.Impl;

import Dao.ResourceCategoryMapper;
import Dao.ResourceMapper;
import domain.Resource;
import domain.ResourceCategory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import Service.ResourceCategoryService;


import java.util.List;

@Service
public class ResourceCategoryServiceImpl implements ResourceCategoryService {

    @Autowired
    private ResourceCategoryMapper resourceMapper;

    /*
            资源分类表的查询
     */

    @Override
    public List<ResourceCategory> findAllResourceCategory() {
        List<ResourceCategory> resourceCategory = resourceMapper.findAllResourceCategory();
        return resourceCategory;
    }
}
